ResultSet

Overview

The query's data result set. The custom visual will make use of the data set to draw or display query results.

  • From version: 2020.20

Properties

Properties

data

data: Data

The data object represents all the results of the executed data query. Use the data object (and its child structures) to draw the data visualization.

const data = cvApi2.resultSet.data;

dropzones

dropzones: Dropzone[]

A List of "Drop Zones" that were used to generate the query for the visual. Each "drop zone" contains the meta structure of the query - including what hierarchies and value elements were used where. This is critical in determining how to draw most visualizations.

const allVisualDropzones = cvApi2.resultSet.dropzones;